package code.google.jcontainer.test.extend;

import code.google.jcontainer.invoke.Invocation;
import code.google.jcontainer.invoke.InvocationHandler;

/**
 * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>, Jan 20, 2010 4:41:31 PM
 */
public class MyInvocationHandler implements InvocationHandler {

    public void chainInvoke(Invocation invocation) throws Exception {
        System.out.println("@@@ invoking method: " + invocation.getTargetMethod());
    }

    public void chainReturn(Invocation invocation) throws Exception {
        System.out.println("@@@ Method return: " + invocation.getResult());
    }

}
